package a0_waittandnotify;

public class Thread_Demo {
    public static void main(String[] args) {
        cook c=new cook();
        c.start();
        c.setName("厨师");
        foodie f=new foodie();
        f.setName("吃货");
        f.start();
    }
}
